package org.nepu.srr.domain.equipmentdata;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.nepu.srr.domain.equipmentdata.converter.CommonInputConverter;
import org.nepu.srr.domain.equipmentdata.vo.CommonInput;

import javax.persistence.Column;
import javax.persistence.Convert;

@Data
@ApiModel(value = "消防设备设施证书参数")
public class FireProtectionCertificateParams {

    @ApiModelProperty("消防泵")
    @Convert(converter = CommonInputConverter.class)
    @Column(name = "fire_pump")
    CommonInput firePump;

    @ApiModelProperty("消防栓、消防枪")
    @Convert(converter = CommonInputConverter.class)
    @Column(name = "fire_extinguisher")
    CommonInput fireExtinguisher;

    @ApiModelProperty("消防软管")
    @Convert(converter = CommonInputConverter.class)
    @Column(name = "fire_wires")
    CommonInput fireWires;

    @ApiModelProperty("消防水雾灭火系统")
    @Convert(converter = CommonInputConverter.class)
    @Column(name = "fire_smoke_extinguisher")
    CommonInput fireSmokeExtinguisher;

    @ApiModelProperty("移动式灭火器")
    @Convert(converter = CommonInputConverter.class)
    @Column(name = "mobile_extinguisher")
    CommonInput mobileExtinguisher;

    @ApiModelProperty("消防炮、泡沫炮")
    @Convert(converter = CommonInputConverter.class)
    @Column(name = "fire_pistol")
    CommonInput firePistol;

    @ApiModelProperty("泡沐液")
    @Convert(converter = CommonInputConverter.class)
    @Column(name = "foam_liquid")
    CommonInput foamLiquid;

    @ApiModelProperty("泡沫罐")
    @Convert(converter = CommonInputConverter.class)
    @Column(name = "foam_tank")
    CommonInput foamTank;

    @ApiModelProperty("喷淋系统")
    @Convert(converter = CommonInputConverter.class)
    @Column(name = "spray_system")
    CommonInput spraySystem;

    @ApiModelProperty("消防服装")
    @Convert(converter = CommonInputConverter.class)
    @Column(name = "fire_clothing")
    CommonInput fireClothing;

    @ApiModelProperty("防火门")
    @Convert(converter = CommonInputConverter.class)
    @Column(name = "fire_door")
    CommonInput fireDoor;

    @ApiModelProperty("正压呼吸器")
    @Convert(converter = CommonInputConverter.class)
    @Column(name = "pressure_oxygen_generator")
    CommonInput pressureOxygenGenerator;

    @ApiModelProperty("应急逃生呼吸装置")
    @Convert(converter = CommonInputConverter.class)
    @Column(name = "emergency_breathing_apparatus")
    CommonInput emergencyBreathingApparatus;
}
